package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆对象 bus
 * 
 * @author ruoyi
 * @date 2021-01-30
 */
public class Bus extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 线路ID */
    @Excel(name = "线路ID")
    private Long stationId;

    /** 编号 */
    @Excel(name = "编号")
    private String code;

    /** 品牌 */
    @Excel(name = "品牌")
    private String brand;

    /** 颜色 */
    @Excel(name = "颜色")
    private String color;

    /** 座位数 */
    @Excel(name = "座位数")
    private Long seatNum;

    /** 备注 */
    @Excel(name = "备注")
    private String des;

    /** 售票类型 */
    @Excel(name = "售票类型")
    private String type;

    /** 删除标记 */
    @Excel(name = "删除标记")
    private String deleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStationId(Long stationId) 
    {
        this.stationId = stationId;
    }

    public Long getStationId() 
    {
        return stationId;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setBrand(String brand) 
    {
        this.brand = brand;
    }

    public String getBrand() 
    {
        return brand;
    }
    public void setColor(String color) 
    {
        this.color = color;
    }

    public String getColor() 
    {
        return color;
    }
    public void setSeatNum(Long seatNum) 
    {
        this.seatNum = seatNum;
    }

    public Long getSeatNum() 
    {
        return seatNum;
    }
    public void setDes(String des) 
    {
        this.des = des;
    }

    public String getDes() 
    {
        return des;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setDeleted(String deleted) 
    {
        this.deleted = deleted;
    }

    public String getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stationId", getStationId())
            .append("code", getCode())
            .append("brand", getBrand())
            .append("color", getColor())
            .append("seatNum", getSeatNum())
            .append("des", getDes())
            .append("type", getType())
            .append("deleted", getDeleted())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
